<?phprequire_once ($DOCUMENT_ROOT . '/includes/functions.php');session_start ();if (is_admin ()){	do_header ('Read Feedback', '');		echo "<h1>Read Feedback</h1>";		$query = "SELECT * FROM feedback WHERE 1 ORDER BY pending, date";		$result = mysql_query ($query)		or report_error ();		while ($line = mysql_fetch_array ($result))	{		echo "<div class='review'>";		echo "<h2>$line[title]</h2>";		echo "<p>$line[date]";		if ($line[pending] == 1)		{			echo " - pending";		}		if ($line[anon] == 0)		{			echo "<p><a href='mailto:$line[name]'>$line[name]</a></p>";		}		else		{			echo "<p>anonymous</p>";		}		echo "</p>";		$comment = stripslashes ($line[comment]);		echo "<p>$comment</p>";		echo "</div>";	}	do_footer ();}?>